home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / bother__ / 11420e01.ziv / INSTALL.BAT next >
DOS Batch File  |  1991-08-14  |  2KB  |  70 lines

  1. echo off
  2. cls
  3. if %2x==x goto NODRIVE
  4. echo All disk drive designations must end with colons.  For instance, drive C
  5. echo is designated as "C:", not "C".  Make absolutely sure that you have desig-
  6. echo nated your hard disk correctly.
  7. echo .
  8. echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
  9. pause
  10. echo off
  11. cls
  12. %2
  13. cd\
  14. md popform
  15. cd\popform
  16. echo Copying files...
  17. if exist upgrd.exe erase upgrd.exe
  18. copy %1pfrm.exe
  19. cls
  20. if exist %1upgrd.exe copy %1upgrd.exe
  21. :SKIPMISC
  22. if exist upgrd.com erase upgrd.com
  23. if exist pf.exe erase pf.exe
  24. if exist pf.hlp erase pf.hlp
  25. if exist pf.doc erase pf.doc
  26. if exist label.frm erase label.frm
  27. if exist rprtcard.frm erase rprtcard.frm
  28. if exist letter.frm erase letter.frm
  29. if exist check.frm erase check.frm
  30. if exist testdata erase testdata
  31. if exist formed.exe erase formed.exe
  32. pfrm
  33. erase pfrm.exe
  34. upgrd %2
  35. erase upgrd.*
  36. cls
  37. echo The instructions must be printed.
  38. echo .
  39. echo .
  40. echo Now, turn your printer OFF and then ON.  Make sure that it is ready to
  41. echo print and that you have loaded at least 40 sheets of paper.  Then, align
  42. echo the print head 1/2" below the top of the first sheet.
  43. echo .
  44. pause
  45. cls
  46. echo Printing documentation...
  47. type PF.DOC >prn
  48. :SKIPPRINT
  49. cls
  50. echo .
  51. echo PopForm is now installed on your hard disk in the POPFORM directory. To
  52. echo access the program, do the following:
  53. echo .
  54. echo     1) enter "%2" at the prompt (this logs you onto drive %2);
  55. echo     2) enter "CD\POPFORM" at the prompt ("CD" means "Change Dirctory");
  56. echo     3) enter "PF" at the prompt.
  57. echo .
  58. echo .
  59. cd %1\
  60. goto END
  61. :NODRIVE
  62. cls
  63. echo .
  64. echo      You must designate BOTH the SOURCE diskette and the HARD disk
  65. echo .
  66. echo example:  B:INSTPFRM B: C:   will install PopForm from drive B to drive C:
  67. echo .
  68. echo            PLEASE TRY AGAIN
  69. :END
  70.